<!doctype html>
<html>


{% load staticfiles %}
<link rel="stylesheet" type="text/css" href="{% static 'stock/css/index.css' %}">
<link href="{% static 'common/css/bootstrap.min.css' %}" rel="stylesheet" type="text/css">

{#<link rel="stylesheet" type="text/css" href="css/index.css">	#}
{#<link rel="stylesheet" type="text/css" href="css/bootstrap-4.0.0.css">#}
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>股票查询</title>
</head>

<body>
{#<a href="/stock/stock_detail/?stock_name=平安银行&ts_code=000001.SZ">show_detail</a>#}
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
    <a class="navbar-brand" href="" disabled>导航</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav mr-auto">

            <li> &nbsp;</li>
            <li class="nav-item active"><a class="nav-link" href="/stock/analysis">分析</a></li>
            <li> &nbsp;</li>
            <li class="nav-item"><a class="nav-link" href="/stock/attention">关注列表</a></li>
            <li> &nbsp;</li>
            <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdown1"
                                             role="button" data-toggle="dropdown" aria-haspopup="true"
                                             aria-expanded="false"> 数据维护 </a>
                <div class="dropdown-menu" aria-labelledby="navbarDropdown1">
                    <a class="dropdown-item" href="javascript:update_daily()">更新每日交易信息</a>
                    <a class="dropdown-item" href="javascript:update_daily_basic()">更新每日指标信息</a>
                    <a class="dropdown-item" href="javascript:update_block_trade()">更新大宗交易信息</a>
                    <a class="dropdown-item" href="javascript:update_moneyflow()">更新资金流向信息</a>
                    <a class="dropdown-item" href="javascript:update_all_basic()">更新上述全部信息</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="javascript:update_stockbasic()">更新股票基本信息</a>
                    <a class="dropdown-item" href="javascript:update_company()">更新上市公司信息</a>
                    <a class="dropdown-item" href="javascript:initial_analysis()">初始化分析</a>
                </div>
            </li>
        </ul>


    </div>
</nav>
<div class="container">
    <!--滚动标题-->
    <header>
        <marquee class="noticeText ng-binding" direction="left" behavior="alternate" scrollamount="10" width="100%"
                 onmouseover="this.stop();" onmouseout="this.start();" style="width: 100%;"><h1>股神从这里诞生！！！&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;哈哈哈，我不信！！！</h1>
        </marquee>
    </header>

    <!--查询框-->
    <div class="container bg-dark">
        <div style="margin-top: 10px;margin-bottom: 10px">
            <form id="form_query" class="form-inline my-2 my-lg-0" action="./" method="get">
                <label style="color:#ffffff;">股票名称 </label> &nbsp;&nbsp;&nbsp;
                <input id="input_search_stockinfo" size="50px,"
                       class="form-control mr-sm-2" placeholder="输入股票名称，或代码进行查询" aria-label="Search" list="searchlist"
                       onkeyup="delaySearch(this.value)">

                <datalist id="searchlist">
                </datalist>
                <input type="button" class="btn btn-outline-success my-2 my-sm-0" id="btn_query_stockinfo"
                       onclick="query_stockinfo()" value="查行情">
            </form>
        </div>


    </div>
    <hr style="background-color: #dedee2;height: 2px;border: none;">

    <div>
        <!--滚动栏，data-interval="false"时，停止滚动，如不设置默认5000ms滚动-->
        <div id="carouselExampleIndicators1" class="carousel slide" data-ride="carousel" data-interval="false"
             style="background-color: grey;height: 600px;overflow: auto">
            <ol class="carousel-indicators">
                <li data-target="#carouselExampleIndicators1" data-slide-to="0" class="active"></li>
                <li data-target="#carouselExampleIndicators1" data-slide-to="1"></li>
                <li data-target="#carouselExampleIndicators1" data-slide-to="2"></li>
                <li data-target="#carouselExampleIndicators1" data-slide-to="3"></li>
                <li data-target="#carouselExampleIndicators1" data-slide-to="4"></li>
            </ol>
            <div class="carousel-inner" role="listbox">
                <div class="carousel-item active" id="div_detail_info" style="overflow: auto">
                    <!--载入详细分析页面-->
                </div>
                <div class="carousel-item" id="div_daily" style="overflow: auto">
                    <!--载入股票交易信息-->
                </div>
                <div class="carousel-item" id="div_daily_basic" style="overflow: auto">
                    <!--载入股票交易指标信息-->
                </div>
                <div class="carousel-item" id="div_moneyflow" style="overflow: auto">
                    <!--载入股票资金流-->
                </div>
                <div class="carousel-item" id="div_block_trade" style="overflow: auto">
                    <!--载入股票大宗交易信息-->
                </div>
            </div>
            <a class="carousel-control-prev" href="#carouselExampleIndicators1" role="button"
               data-slide="prev"> <span
                    class="carousel-control-prev-icon" aria-hidden="true"></span> <span
                    class="sr-only">Previous</span>
            </a> <a class="carousel-control-next" href="#carouselExampleIndicators1" role="button"
                    data-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span>
        </a>
        </div>
    </div>
</div>

<footer class="text-center">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <p>此网站仅用于学习，请尊重相关网站版权，不可用于任何商业用途！！！</p>
            </div>
        </div>
    </div>
</footer>

<script src="{% static 'common/js/jquery.js' %}"></script>
<script src="{% static 'common/js/popper.js' %}"></script>
<script src="{% static 'common/js/bootstrap.min.js' %}"></script>
<script src="{% static 'common/js/snowflakes.min.js' %}"></script>
<script src="{% static 'stock/js/index.js' %}"></script>

{#<script src="js/jquery.js"></script>#}
{#<script src="js/bootstrap-4.0.0.js"></script>#}
{#<script src="js/popper.min.js"></script>#}
{#<script src="index.js"></script>#}

</body>

</html>
